package com.puman.beautyfarmcounselor.ui.customer.model;

import java.util.List;

/**
 * Created by Curry on 2015/6/23.
 */
public class Surplus {


    /**
     * msg : 成功
     * flag : true
     * data : {"over_duo_total_count":0,"diff_date":-16,"total_count":2,"surplus_list":[{"end_date":"2015-09-01 ","unit":"380.00 元","product_name":"银卡生日券","cust_id":279043},{"end_date":"2015-12-31 ","unit":"900.00 元","product_name":"900元护理","cust_id":279043}],"last_end_date":"2015-09-01","will_overdue":0}
     */
    private String msg;
    private boolean flag;
    private DataEntity data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public class DataEntity {
        /**
         * over_duo_total_count : 0
         * diff_date : -16
         * total_count : 2
         * surplus_list : [{"end_date":"2015-09-01 ","unit":"380.00 元","product_name":"银卡生日券","cust_id":279043},{"end_date":"2015-12-31 ","unit":"900.00 元","product_name":"900元护理","cust_id":279043}]
         * last_end_date : 2015-09-01
         * will_overdue : 0
         */
        private int over_duo_total_count;
        private int diff_date;
        private int total_count;
        private List<SurplusRecord> surplus_list;
        private String last_end_date;
        private int will_overdue;

        public void setOver_duo_total_count(int over_duo_total_count) {
            this.over_duo_total_count = over_duo_total_count;
        }

        public void setDiff_date(int diff_date) {
            this.diff_date = diff_date;
        }

        public void setTotal_count(int total_count) {
            this.total_count = total_count;
        }

        public void setSurplus_list(List<SurplusRecord> surplus_list) {
            this.surplus_list = surplus_list;
        }

        public void setLast_end_date(String last_end_date) {
            this.last_end_date = last_end_date;
        }

        public void setWill_overdue(int will_overdue) {
            this.will_overdue = will_overdue;
        }

        public int getOver_duo_total_count() {
            return over_duo_total_count;
        }

        public int getDiff_date() {
            return diff_date;
        }

        public int getTotal_count() {
            return total_count;
        }

        public List<SurplusRecord> getSurplus_list() {
            return surplus_list;
        }

        public String getLast_end_date() {
            return last_end_date;
        }

        public int getWill_overdue() {
            return will_overdue;
        }

    }
}
